 ///
 /// @file    anotherPoint.cc
 /// @author  lemon(haohb13@gmail.com)
 /// @date    2016-03-04 14:44:20
 ///
 
#include <iostream>
using std::cout;
using std::endl;

class Point
{
public:
	//explicit 
	Point(int ix = 0, int iy = 0)
	: _ix(ix)
	, _iy(iy)
	{
		//cout << "Point(int,int)" << endl;
	}

	operator int()
	{
		return _ix * _iy;
	}

private:
	int _ix;
	int _iy;
};

int main(void)
{
	Point p1(3, 4);

	cout << p1 << endl;

	return 0;
}
